Use PEGetNSections to retrieve the number of sections in the specified report. By default, each report has five areas, each containing one section (Report Header, Page Header, Details, Report Footer, and Page Footer). Thus, if this function were applied to a default report, five (5) would be returned. As you add groups to your report or you add sections to one or more areas, the number of sections in the report increases.
short CRPE_API PEGetNSections (
short printJob );
Specifies the print job from which you want to get a section count. |
Declare Function PEGetNSections Lib "crpe32.dll" (
ByVal printJob As Integer ) As Integer
function PEGetNSections (
printJob: Word
): Smallint stdcall;
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |